/**数组中对象对象路径设置值 */
export function setNestedValueArr(arr: any[]) {
  let newArr = [];
  arr.forEach(item => {
    let Obj = {};
    Object.keys(item).forEach(key => {
      setNestedValue(Obj, key, item[key]);
    });
    newArr.push(Obj);
  });
  return newArr;
}
